package com.bjt.wms.sys.common;

import com.bjt.wms.sys.controller.*;
import com.jfinal.config.Routes;

public class SysRouter extends Routes {
    @Override
    public void config() {
//        addInterceptor(new SysInterceptor());

        add("/", LoginController.class,"/");
        add("/sys/deliverySheet", DeliverySheetController.class);
        add("/sys/employee", EmployeeController.class);
        add("/sys/flowDetail", FlowDetailController.class);
        add("/sys/stock", StockController.class);

        add("/sys/menu", MenuController.class);
        add("/sys/log", LogController.class);
        add("/api", ApiController.class);
    }
}